package com.ruoyi.order.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 影票订单对象 order_ticket
 *
 * @author HYANFENG
 * @date 2021-03-17
 */
@TableName("order_ticket")
public class OrderTicket extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;
    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderId;
    /** 活动编号 */
    @Excel(name = "活动编号")
    private String activityCode;
    /** 座位编号 */
    @Excel(name = "座位编号")
    private String seatCode;
    /** 座位字符串 */
    @Excel(name = "座位字符串")
    private String seatString;
    /** $column.columnComment */
    private String delFlag;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setActivityCode(String activityCode)
    {
        this.activityCode = activityCode;
    }

    public String getActivityCode()
    {
        return activityCode;
    }
    public void setSeatCode(String seatCode)
    {
        this.seatCode = seatCode;
    }

    public String getSeatCode()
    {
        return seatCode;
    }
    public void setSeatString(String seatString)
    {
        this.seatString = seatString;
    }

    public String getSeatString()
    {
        return seatString;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("activityCode", getActivityCode())
            .append("seatCode", getSeatCode())
            .append("seatString", getSeatString())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
